<?php
namespace app\mobile\controller;
use think\Db;
class Ajax extends Mobile {
	/*
     * 返回行政区域json字符串
     */
	public function region(){
		$map['dq']=input('pid');
		//$map['type']=$_REQUEST["type"];
		$list=Db::name('leibie')->where($map)->select();

		echo json_encode($list);
	}
}